//
//  XMPPManager.h
//  XMPPMessage
//
//  Created by 刘永杰 on 15/11/20.
//  Copyright © 2015年 刘永杰. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "XMPPFramework.h"

@interface XMPPManager : NSObject

//通道管理器类
@property (strong, nonatomic) XMPPStream *XMPPStream;
//好友关系类（好友花名册、添加好友信息）
@property (strong, nonatomic) XMPPRoster *XMPPRoster;

//XMPP的CoreData存储的类
@property (strong, nonatomic) XMPPMessageArchiving *archiving;

//
@property (strong, nonatomic) NSManagedObjectContext *content;

+ (XMPPManager *)defaultManager;

- (void)loginWithUserName:(NSString *)userName andPassword:(NSString *)password;

- (void)registerWithUsetName:(NSString *)userName andPassword:(NSString *)password;

- (void)connectWithUserName:(NSString *)userName andPassWord:(NSString *)passWord;


@end
